<?php /* Smarty version 2.6.19, created on 2008-07-21 00:19:53
         compiled from profile/edit.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'profile/edit.tpl', 1, false),array('function', 'html_select_date', 'profile/edit.tpl', 27, false),array('modifier', 'escape', 'profile/edit.tpl', 17, false),)), $this); ?>
<?php echo smarty_function_config_load(array('file' => "index.conf"), $this);?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/doctype.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<head>
    <title>Edit</title>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/include.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head>

<body>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/logo.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/global_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div><strong><?php echo $this->_tpl_vars['error']['empty']; ?>
</strong></div>
<form action="" method="post">
    Username:<div></div>
    <input type="text" name="data[user_login]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_login'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" readonly="readonly" /><br />
    E-mail:<div><strong><?php echo $this->_tpl_vars['error']['mail']; ?>
</strong></div>
    <input type="text" name="data[user_mail]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_mail'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /><br />
    Gender:<div></div>
    <select name="data[user_sex]">
        <option value="" />Your gender
        <option value="male" <?php if ($this->_tpl_vars['data']['user_sex'] == 'male'): ?>selected<?php endif; ?> />Male
        <option value="female" <?php if ($this->_tpl_vars['data']['user_sex'] == 'female'): ?>selected<?php endif; ?> />Female
    </select><br />
    Age:<div><strong><?php echo $this->_tpl_vars['error']['born']; ?>
</strong></div>
    <?php echo smarty_function_html_select_date(array('selected_month' => ($this->_tpl_vars['month']),'selected_year' => ($this->_tpl_vars['year']),'selected_day' => ($this->_tpl_vars['day']),'start_year' => "-60",'end_year' => "-8"), $this);?>
<br />
    Phone number:<div></div>
    <input type="text" name="data[user_number]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_number'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" readonly="readonly" /><br />
    Country/region:<div></div>
    <input type="text" name="data[user_country]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_country'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /><br />
    City/other country:<div></div>
    <input type="text" name="data[user_city]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_city'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /><br />
    About yourself:<div></div>
    <input type="text" name="data[user_description]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /><br />
    <input type="submit" value="change" />
</form>

<div><strong><?php echo $this->_tpl_vars['error']['password_empty']; ?>
</strong></div>
<div><strong><?php echo $this->_tpl_vars['result']; ?>
</strong></div>
<form action="" method="post">
	Old password:<div><strong><?php echo $this->_tpl_vars['error']['old_password']; ?>
</strong></div>
	<input type="password" name="data[old_password]" value="" /><br />
	Password:<div><strong><?php echo $this->_tpl_vars['error']['password']; ?>
</strong></div>
	<input type="password" name="data[password]" value="" /><br />
	Password again:<div></div>
	<input type="password" name="data[password_again]" value="" /><br />
	<input type="submit" name="password" value="change password" />
</form>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "profile/inc/return.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

</body>

</html>  